package repository

import (
	"context"
	"webook/internal/domain"
)

type ArticleAuthorRepository interface {
	Create(ctx context.Context, article domain.Article) (int64, error)
	Update(ctx context.Context, article domain.Article) (int64, error)
}

type CachedArticleAuthorRepository struct {
}

func NewCachedArticleAuthorRepository() ArticleAuthorRepository {
	return &CachedArticleAuthorRepository{}
}

func (repo *CachedArticleAuthorRepository) Create(ctx context.Context, article domain.Article) (int64, error) {
	panic("implement me")
}

func (repo *CachedArticleAuthorRepository) Update(ctx context.Context, article domain.Article) (int64, error) {
	panic("implement me")
}
